home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / include / scribus-ng / nftsettings.h < prev    next >
Encoding:
C/C++ Source or Header  |  2009-02-16  |  1.1 KB  |  40 lines

  1. /*
  2. For general Scribus (>=1.3.2) copyright and licensing information please refer
  3. to the COPYING file provided with the program. Following this notice may exist
  4. a copyright and/or license notice that predates the release of Scribus 1.3.2
  5. for which a new license (GPL+exception) is in place.
  6. */
  7. /***************************************************************************
  8.  *   Riku Leino, tsoots@gmail.com                                          *
  9.  ***************************************************************************/
  10. #ifndef NFTSETTINGS_H
  11. #define NFTSETTINGS_H
  12.  
  13. #include "scconfig.h"
  14. #include <vector>
  15. #include <QString>
  16. #include <QDir>
  17. #include <QFile>
  18. #include "nfttemplate.h"
  19. #include "nftrcreader.h"
  20.  
  21. class nftsettings {
  22. private:
  23.     QString scribusShare;
  24.     QString scribusUserHome;
  25.     QString userTemplateDir;
  26.     QString nftHomeDir;
  27.     QString lang;
  28.     nftrcreader* handler;
  29.     QXmlSimpleReader* reader;
  30.     void read();
  31.     void addTemplates(QString dir);
  32.     QString findTemplateXml(QString dir);
  33. public:
  34.     std::vector<nfttemplate*> templates;
  35.     nftsettings(QString guilang, QString templateDir);
  36.     ~nftsettings();
  37. };
  38.  
  39. #endif // NFTSETTINGS_H
  40.